package com.atshiyou.service.impl;

import com.atshiyou.bean.Books;
import com.atshiyou.dao.BooksDao;
import com.atshiyou.service.BooksService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BooksServiceImpl implements BooksService {

    @Resource
    private BooksDao dao;
    @Override
    public List<Books> getAll() {
        return dao.getAll();
    }
}
